package com.cleaningcloud.cld.mapper;

import java.util.List;
import com.cleaningcloud.cld.domain.CldMaterialAllocateDetails;

/**
 * 物资调拨明细Mapper接口
 * 
 * @author cleaningcloud
 * @date 2024-10-28
 */
public interface CldMaterialAllocateDetailsMapper 
{
    /**
     * 查询物资调拨明细
     * 
     * @param materialallocateDetailsId 物资调拨明细主键
     * @return 物资调拨明细
     */
    CldMaterialAllocateDetails selectCldMaterialAllocateDetailsByMaterialallocateDetailsId(Long materialallocateDetailsId);

    /**
     * 查询物资调拨明细列表
     * 
     * @param cldMaterialAllocateDetails 物资调拨明细
     * @return 物资调拨明细集合
     */
    List<CldMaterialAllocateDetails> selectCldMaterialAllocateDetailsList(CldMaterialAllocateDetails cldMaterialAllocateDetails);

    /**
     * 新增物资调拨明细
     * 
     * @param cldMaterialAllocateDetails 物资调拨明细
     * @return 结果
     */
    int insertCldMaterialAllocateDetails(CldMaterialAllocateDetails cldMaterialAllocateDetails);

    /**
     * 修改物资调拨明细
     * 
     * @param cldMaterialAllocateDetails 物资调拨明细
     * @return 结果
     */
    int updateCldMaterialAllocateDetails(CldMaterialAllocateDetails cldMaterialAllocateDetails);

    /**
     * 删除物资调拨明细
     * 
     * @param materialallocateDetailsId 物资调拨明细主键
     * @return 结果
     */
    int deleteCldMaterialAllocateDetailsByMaterialallocateDetailsId(Long materialallocateDetailsId);

    /**
     * 批量删除物资调拨明细
     * 
     * @param materialwareAllocateId 需要删除的数据主键集合
     * @return 结果
     */
    int deleteCldMaterialAllocateDetailsByMaterialallocateId(Long materialwareAllocateId);
}
